# -*-codeing = utf-8 -*-
# @Tine:2024/9/18 
# @Author:计科201121尚益帆
# File：3.9.py
# @Software:PyCharm
def jpg(a, xuexiaourl="https://www.tute.edu.cn"):
    links=[]
    start=0
    for i in range(3): #三次
        start_src= a.find('src="', start)+5#从start位置开始寻找src=",start_src先指向后一个字符
        end_src= a.find('"', start_src)
        img_src= a[start_src:end_src]
        link=xuexiaourl+img_src
        links.append(link)
        start= end_src  # 移动到下一个img标签
    return links
a="""<div id="line_u7_0" class="col-lg-3 col-md-3 col-sm-3 col-xs-9" style="margin: 10px;padding: 0px;border: 1px solid #E4E4E4"> 
<a href=" " style="width: 100%;display: block;position: relative;text-decoration: none;outline: none"> 
  < img src="/__local/6/F6/65/810526C24A2D78CA7980017F8AC_66F27B38_D79E4.jpg" style="width: 100%;height: 230px"> 
    <div style="position:absolute;right: 0px;bottom: 0px;width: 87px;height: 
36px;text-align: center;line-break: 36px;background: rgba(247,147,30,0.5);color: 
#fff;font-size: 21px">07-13</div> 
 </a > 
  <span style="padding: 15px 15px;height: 45px;display: block">《校园》冬
日（2022年1月20日晨）</span> 
</div> 
<div id="line_u7_1" class="col-lg-3 col-md-3 col-sm-3 col-xs-9" style="margin: 
10px;padding: 0px;border: 1px solid #E4E4E4"> 
 <a href="../info/1103/4581.htm" style="width: 100%;display: block;position: 
relative;text-decoration: none;outline: none"> 
  < img src="/__local/1/11/02/8DD8B78E1C645BB6AF2296C60B0_E51A8329_CE066.jpg" style="width: 100%;height: 230px"> 
    <div style="position:absolute;right: 0px;bottom: 0px;width: 87px;height: 
36px;text-align: center;line-break: 36px;background: rgba(247,147,30,0.5);color: 
#fff;font-size: 21px">07-13</div> 
 </a > 
  <span style="padding: 15px 15px;height: 45px;display: block">《校园》冬
日（2022年1月20日晨）</span> 
</div> 
<div id="line_u7_2" class="col-lg-3 col-md-3 col-sm-3 col-xs-9" style="margin: 
10px;padding: 0px;border: 1px solid #E4E4E4"> 
 <a href="../info/1103/4299.htm" style="width: 100%;display: block;position: 
relative;text-decoration: none;outline: none"> 
  < img src="/__local/C/C8/BA/99514BEA496D696A